﻿// See https://aka.ms/new-console-template for more information
using DietTherapy.Generator;

Console.WriteLine("开始生成....");
GEdb g=new GEdb();

File.WriteAllBytes("D:/code/EntityFiles.zip", g.CodeGenByAll("EntityFiles"));
File.WriteAllBytes("D:/code/ServiceFiles.zip", g.CodeGenByAll("ServicesFiles"));
File.WriteAllBytes("D:/code/InterFaceFiles.zip", g.CodeGenByAll("InterFaceFiles"));